/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2017
 */

package com.shop.pandian.app.vo.query;


import java.io.Serializable;


import org.springframework.format.annotation.DateTimeFormat;
import com.shop.pandian.util.DateUtil;
import com.shop.pandian.framework.annotation.ColumnQuery;
import com.shop.pandian.framework.base.page.BaseQuery;


public class AcctUserQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Long id;
	/** loginName */
	private java.lang.String loginName;
	/** userName */
	private java.lang.String userName;
	/** gender */
	private Short gender;
	/** password */
	private java.lang.String password;
	/** mobilePhone */
	private java.lang.String mobilePhone;
	/** homePhone */
	private java.lang.String homePhone;
	/** workPhone */
	private java.lang.String workPhone;
	/** lastLoginDate */
	@DateTimeFormat(pattern="dd/MM/yyyy")
	private java.util.Date lastLoginDateBegin;
	@DateTimeFormat(pattern="dd/MM/yyyy")
	private java.util.Date lastLoginDateEnd;

	
	@ColumnQuery
	public java.lang.Long getId() {
		return this.id;
	}
	
	public void setId(java.lang.Long value) {
		this.id = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getLoginName() {
		return this.loginName;
	}
	
	public void setLoginName(java.lang.String value) {
		this.loginName = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getUserName() {
		return this.userName;
	}
	
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}
	
	
	
	@ColumnQuery
	public Short getGender() {
		return this.gender;
	}
	
	public void setGender(Short value) {
		this.gender = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getPassword() {
		return this.password;
	}
	
	public void setPassword(java.lang.String value) {
		this.password = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getMobilePhone() {
		return this.mobilePhone;
	}
	
	public void setMobilePhone(java.lang.String value) {
		this.mobilePhone = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getHomePhone() {
		return this.homePhone;
	}
	
	public void setHomePhone(java.lang.String value) {
		this.homePhone = value;
	}
	
	
	
	@ColumnQuery
	public java.lang.String getWorkPhone() {
		return this.workPhone;
	}
	
	public void setWorkPhone(java.lang.String value) {
		this.workPhone = value;
	}
	
	
	
	@ColumnQuery(name="lastLoginDate",operator=">=")
	public java.util.Date getLastLoginDateBegin() {
		return this.lastLoginDateBegin;
	}
	
	public void setLastLoginDateBegin(java.util.Date value) {
		this.lastLoginDateBegin = value;
	}	
	
	@ColumnQuery(name="lastLoginDate",operator="<=")
	public java.util.Date getLastLoginDateEnd() {
		return DateUtil.getEndOfTheDay(this.lastLoginDateEnd);
	}
	
	public void setLastLoginDateEnd(java.util.Date value) {
		this.lastLoginDateEnd = value;
	}
	

	
}

